luci-mod-network: Fix for a9e1685 to enable translation
authorHannu Nyman <[email protected]>
Sun, 17 Nov 2024 08:24:03 +0000 (10:24 +0200)
committerHannu Nyman <[email protected]>
Sun, 17 Nov 2024 08:24:03 +0000 (10:24 +0200)
Fix the erroneous placement of ) in a9e1685 to actually provide translation.

Fixes #7401

Signed-off-by: Hannu Nyman <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js

index b5785197dc632643e77f96e2370b566e7cc63974..d376dfafedf6533ea80bae321c35484eb5f7c6c9 100644 (file)
@@ -93,7 +93,7 @@ return view.extend({
                        o.placeholder = 1500;
 
                        o = s.taboption('advanced', form.Value, 'table', _('Table'), _('Routing table into which to insert this rule.') + '<br/>' +
-                               _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid'.format('<code>/etc/iproute2/rt_tables</code>'))
+                               _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid').format('<code>/etc/iproute2/rt_tables</code>')
                                + '<br/>' + _('Only interfaces using this table (via override) will use this route.'));
                        o.datatype = 'or(uinteger, string)';
                        for (var i = 0; i < rtTables.length; i++)
@@ -170,7 +170,7 @@ return view.extend({
                        };
 
                        o = s.taboption('advanced', form.Value, 'lookup', _('Table'), _('Routing table to use for traffic matching this rule.') + '<br/>' +
-                               _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid'.format('<code>/etc/iproute2/rt_tables</code>'))
+                               _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid').format('<code>/etc/iproute2/rt_tables</code>')
                                + '<br/>' + _('Matched traffic re-targets to an interface using this table.'));
                        o.datatype = 'or(uinteger, string)';
                        for (var i = 0; i < rtTables.length; i++)